package com.hundsun.cprs.yyt.service.trade.dao;

import com.hundsun.cprs.yyt.service.trade.domain.TradeCancelFlow;
import com.hundsun.cprs.yyt.service.trade.domain.query.TradeCancelFlowQuery;

import java.util.List;

public interface TradeCancelFlowDao {
    int deleteByPrimaryKey(Long id);

    int insert(TradeCancelFlow record);

    int insertSelective(TradeCancelFlow record);

    TradeCancelFlow selectByPrimaryKey(Long id);
    
    List<TradeCancelFlow> selectByQuery(TradeCancelFlowQuery query);

    int updateByPrimaryKeySelective(TradeCancelFlow record);

    int updateByPrimaryKey(TradeCancelFlow record);
}